package interview.java.q2.internal;

import java.util.List;

public class AnswerResultPrinter {

  public AnswerResultPrinter(List<List<String>> result) {
    _result = result;
  }

  public void print() {
    for (List<String> line : _result) {
      for (String c : line) {
        System.out.print(c);
        System.out.print(" ");
      }

      System.out.println();
    }
  }

  private final List<List<String>> _result;
}
